package com.youko.backstage.mapper.seckill;

import com.youko.backstage.bean.seckill.Goods;
import com.youko.backstage.bean.seckill.GoodsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsMapper extends BaseGoodsMapper {
    List<Goods> selectByPageExample(@Param("offset") Integer offset, @Param("rows") Integer rows, @Param("example") GoodsExample example);

    int decrement(Long id);

    int increment(Long goodsId);
}
